home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / boyan52b.zip / SCRIPT.DOC < prev   
Text File  |  1994-01-28  |  19KB  |  441 lines

  1.   Most scripts are provided - by Lee Breeden
  2.  
  3. This script is offered AS IS with all its flaws, as an example of the
  4. many different options available with BOYAN script language. There are no
  5. warranties, express or implied.  This is the efforts of my time, as well
  6. as others who have tried, tested, modified and corrected spelling <G> to
  7. make this what it is.
  8.  
  9. This idea was inspired by Kendall D'Andres, and help from Paul Buerkle.
  10.  
  11. The new scripts contain a new feature called SMART script, which will
  12. allow you to have inter-action with a remote system while the script is
  13. running and then return control back to the script.  It will also allow
  14. you to abort the script the script and allow it to RESUME where it left
  15. off......
  16.  
  17. New script has improved file transfers, supports BBSee15 for
  18. handling filenames using QWK newfiles.dat info.
  19.  
  20. Now supports RoseMail!
  21.  
  22. These are a few scripts that will make a system script that will set all of
  23. the variables necessary for calling a system for mail, and file functions.
  24.  
  25. It is self explanatory to generate the script, but there are some things
  26. that will need to be modified in your current boyan.mac file for all of
  27. this to work.
  28.  
  29. The files contained are:
  30.  
  31.  ° Readme.txt  -  this file
  32.  
  33.  ° Script.bsc  -  this contains all of the commands that will be used to
  34.                    run the system script.
  35.  
  36.  ° Makemail.bsc - is the file that you will need to run that makes the
  37.                    system script for you.
  38.  
  39.  ° Nite.bsc     - is a sample of my own script that I use to start calling
  40.                    all of the systems that I call.
  41.  
  42.  ° Boy.mac      - this is my own macro file that I use on my system. If
  43.                    you would like to look at it, I would suggest
  44.                    that you rename your own  boyan.mac file  and then ren
  45.                    boy.mac to boyan.mac and look at mine.
  46.                    If you do, you might need to make the following changes
  47.                    if you plan on trying to use it:
  48.                       a) modem init string. macro #9
  49.                       b) macro #1 has commands for call waiting.
  50.  
  51. Script LIST:
  52.  
  53.  °  end      bsc   This is a nice script that I run after disconnecting
  54.                    from a system (Macro #7), it displays the time and
  55.                    lenght of connection from the last call
  56.  
  57.  °  gt-power bsc   Logon script for GTComm boards
  58.  
  59.  °  makemail bsc   MAIL Script generator
  60.  
  61.  °  nite     bsc   Sample unattended nite mail setup script
  62.  
  63.  °  pcboard  bsc   Logon script for PCBoards
  64.  
  65.  °  qefiles  bsc   Filename grabber script.
  66.  
  67.  °  quote    bsc   Message quote macro
  68.  
  69.  °  rbbs     bsc   Logon script for RBBS boards
  70.  
  71.  °  script   bsc   Main script for mail calls
  72.  
  73.  °  start    bsc   Startup script for setting log file by date
  74.  
  75.  °  wildcat  bsc   Logon script for WildCat boards
  76.  
  77.  
  78. Purpose:
  79.  
  80.    This program is to aid anyone interested in calling systems unattended
  81. for mail and file transfers to PCBoard systems. All of this is will be
  82. done with Boyan scripts.  Even the process of creating a script will be
  83. done with a Boyan script.
  84.  
  85. Getting started:
  86.  
  87. First place all of the *.bsc files in the boyan script file directory.
  88. Next hit ALT-R and delete anything on the status line, followed by <CR>.
  89. Highlight the script called makemail.bsc and hit <cr>.
  90.  
  91.        You will need to have the following handy to complete the script.
  92.  
  93.          °  Name to call the script.
  94.          °  Type of door for mail.
  95.          °  Door number.
  96.          °  Name of system mail packets for both up and downloads.
  97.          °  The number of mail packets that you wish to keep.
  98.  
  99. The script called MailMake.bsc will check for your first and last name in
  100. macros #111 and #112. If not contained there, it will ask you for your
  101. first and last name. Then it will install them in 111 and 112 for you. The
  102. next time that you run MakeMail it will display your first and last name
  103. on the screen and ask if this is correct.
  104.  
  105. It will be displayed as Lee ` Breeden
  106.  
  107. the back quote character, one character after your first name MUST be
  108. there for all of this to work.
  109.  
  110. The script will then check to see if you have a defined password in the
  111. setup. If not it will ask you to install one. The rest of the script will
  112. be question and answer of the above questions. All of this information
  113. will be stored in your user defined script name.
  114.  
  115. Operation of the script.
  116.  
  117. Once you have created the User defined script, it will set all of the
  118. variables that will be needed for the call. All of the variables will be
  119. used in the script call SCRIPT.bsc. This way, if there are any changes in
  120. the mail door(s). A new script.bsc file can be easily replaced for the
  121. existing one without having to changes to the related commands for the
  122. system.bsc.
  123.  
  124. Here is what your system script should look like:
  125.  
  126. \\ This script automates Mail runs to EDSHOME Bulletin Board.
  127. \\ You must set the following macros with BOYAN's configuration module:    
  128. \\  \! = Macro # 111 = Your first name                                     
  129. \\  \@ = Macro # 112 = Your last name                                      
  130. \\  %PW = Is your defined password.                                      
  131. \\  \sv1 used for mail system report file *.rep.                           
  132. \\  \sv2 used for prodoor option number.                                   
  133. \\  \sv3 used for mail door option number.                                 
  134. \\  \sv4 used for mail packet system name *.qwk.                           
  135. \\  \sv5 used for up-file name or names.                                   
  136. \\  \sv6 used for file upload description.                                 
  137. \\  \sv7 used for file upload description, leave blank if not used         
  138. \\  \sv8 used for file upload description, leave blank if not used         
  139. \\  \sv9 used for file upload description, leave blank if not used         
  140. \\  \sv0 used for system name in call back option.                       
  141. \\  \svA used to set option for call back block.                           
  142. \\  \svB used for setting number of mail packets to keep.                  
  143. \\  \svC used for setting file scan option <U>pload <A>ll etc.             
  144. \\  \svD used internally to read variable        
  145. \\  \svE used internally for selection option                              
  146. \\  \svF used for setting cursor position in mail door.                   
  147. \\  \svG used for setting the maximun number of messages in mail door.     
  148. \\  \svH used for setting timer to wait for no messages prompt in mail door.
  149. \\ Need to have in boyan macro #7 \AT+[\qd]
  150. \\  as last command.                                                       
  151. \\Script assumes that you put your message replies in upload dir.           
  152. \\Script assumes that you put your messages packets in DN dir.             
  153. \\Script assumes that you use Zmodem configured as Z.                      
  154.                                                                            
  155. |LOGON                                    \\ Start script blocks    
  156. \IE+OFF,%LD[\LD+]                         \\ Turn on Log to disk file  
  157. \SV0[%SN]            \\ set existing system number to %v0
  158. \sv1[EdsHome.rep]    \\ Report packet name
  159. \SV2[1]              \\ enter door number [#]
  160. \sv4[EdsHome.qwk]    \\ Mail Packet name
  161. \SV5[boydoc50.zip ]  \\ Name of file to UpLoad
  162. \SV6[Great boyan script for viewing portions ]\\ file description
  163. \SV7[of the boyan 5.0 manual. Has menu and   ]\\ file description
  164. \SV8[table of contents.  By Paul Buerkle     ]\\ file description
  165. \SV9[          ]    \\ enter file name to download
  166. \SVB[9]             \\ enter number of qwk's to keep
  167. \SVC[a]             \\ scanning directories for files A all or U uploads
  168. \SVF[35]            \\ Cursor position
  169. \SVG[800]           \\ Maximum message counter for mail
  170. \SVH[1]             \\ Timer to wait for NO messages 2-15 sec
  171.                                                                            
  172. \DM[CONNECTED TO %SN]                     \\ System display message    
  173. \to[40]\pl                                \\ Set time